Home:ALL Converter>How can I detect if my application is started by MS MPI mpiexec?

How can I detect if my application is started by MS MPI mpiexec?

Ask Time:2018-11-20T18:38:32         Author:Sanjaya

Json Formatter

My application is sequential and I want to make it parallel. Hence I want to check if I am in MPI environment or not to adapt to parallel processing.

Author:Sanjaya,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/53391156/how-can-i-detect-if-my-application-is-started-by-ms-mpi-mpiexec
yy